
class Config:
    # 数据库
    host = '127.0.0.1'
    port = 3307
    user = 'root'
    password = 'suchenhui'
    database = 'data_aggregation'
    # 服务器配置
    SERVER_PORT = 9998
    DEBUG = False
    DATABASE_CONNECT_STATUS = False
    PROJECT_NAME = 'demo1'
    
    # 日志配置
    LOG_LEVEL = "INFO"
    LOG_FILE = "app.log"
    # cas配置
    CAS_SERVER = "http://auth.kfwyxy.edu.cn/cas"
    CAS_AFTER_LOGIN = "/data_aggregation"
    SECRET_KEY = "suchenhui"
    CAS_LOGIN_ROUTE = "/cas/login"
    CAS_VALIDATE_ROUTE = "/cas/serviceValidate"